package com.zs.common.entity.wisdbook;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel("智书目录实体")
public class WisdbookDir implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value="id", type= IdType.AUTO)
    @ApiModelProperty(value = "节点id")
    private Integer id;

    @ApiModelProperty(value = "父节点id")
    private Integer pid;

    @ApiModelProperty(value = "目录名称")
    private String text;

    @ApiModelProperty(value = "智书id")
    private Integer bookId;

    @ApiModelProperty(value = "页id集合")
    private String pageIds;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "")
    private Integer isDelete;

    @ApiModelProperty(value = "")
    private Long createTime;

    @ApiModelProperty(value = "")
    private Long updateTime;

    @ApiModelProperty(value = "")
    private Long deleteTime;

}